package com.qili.entity.exam;

import lombok.Data;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * @author zhaoyongke
 * @date 2021/8/6
 * @description  试题答案试题类
 */

@Table(name = "ex_qu_answer")
@Data
@ToString
public class ExQuAnswer {

    @Id
    @Column(name="qu_answer_id")
    private String quAnswerId;

    /**
     * 问题ID
     */
    @Column(name="qu_id")
    private String quId;

    /**
     * 是否正确  1 正确   0 错误
     */
    @Column(name="is_right")
    private String isRight;

    /**
     * 答案内容
     */
    @Column(name="answer_content")
    private String answerContent;

    /**
     * 答案分析
     */
    @Column(name="answer_analysis")
    private String answerAnalysis;

    //创建人
    @Column(name="create_by")
    private String createBy;

    //创建时间
    @Column(name="create_date")
    private String createDate;

    //修改人
    @Column(name="modify_by")
    private String modifyBy;

    //修改时间
    @Column(name="modify_date")
    private String modifyDate;

    //序号
    @Column(name="serial")
    private Integer serial;

    //选项判断选中哪个
    @Transient
    private String isItRight;

}
